package com.dj.bean;

import org.hibernate.annotations.GenericGenerator;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * @author cyf
 * @description 检查申请表，对应库表fhir_procedure_request_record(表名需要相同)
 * @create 2018-06-27 14:14
 */
@Entity
@Table(name = "fhir_procedure_request_record")
public class ProcedureRequestBean {

    /**
     * 主键 资源id  uuid
     */
    @Id
    @GeneratedValue(generator = "system-uuid")
    @GenericGenerator(name = "system-uuid", strategy = "uuid")
    private String id;

    /**
     * 版本号
     */
    private String version;

    /**
     * 检查申请信息
     */
    private String content;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 检查项目名称 用于name查询
     */
    private String itemName;

    /**
     * 扩展字段1
     */
    private Date param1;

    /**
     * 扩展字段2
     */
    private Date param2;

    /**
     * 扩展字段3
     */
    private String param3;


    /*get  set*/

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getItemName() {
        return itemName;
    }

    public void setItemName(String itemName) {
        this.itemName = itemName;
    }

    public Date getParam1() {
        return param1;
    }

    public void setParam1(Date param1) {
        this.param1 = param1;
    }

    public Date getParam2() {
        return param2;
    }

    public void setParam2(Date param2) {
        this.param2 = param2;
    }

    public String getParam3() {
        return param3;
    }

    public void setParam3(String param3) {
        this.param3 = param3;
    }
}
